package com.qiu.demo.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName(value = "big_user")
public class User {

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField(value = "username")
    private String username;
    @TableField(value = "nickname")
    private String nickname;
    @TableField(value = "email")
    private String email;
    @TableField(value = "avatar")
    private String avator;
    @TableField(value = "password")
    private String password;
    @TableField(value = "register_time")
    private LocalDateTime registerTime;
    @TableField(value = "gender")
    private Integer gender;
    @TableField(value = "age")
    private Integer age;

}